2015年2月25日 — You can use the xxd command to transform a file in Vim to hex representation, doing. :%!xxd. : enters command-line mode, % matches whole ...
Vim is distributed with the xxd utility that provides a convenient method to dump a binary file to hex. You can edit the printable hex characters, and use xxd ...
This tip improves the use of xxd to edit hex files by adding a mapping and command to easily toggle back and forth between hex and non-hex mode, and automating ...